package Calc;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class StacksTest extends Stacks {
	private Stacks stacks=new Stacks();

	@Test
	public void testPush() {
		stacks.push(5);
		assertEquals(5, stacks.top());
	}

	@Test
	public void testPop() {
		stacks.push(5);
		assertEquals(5, stacks.pop());
	}

	@Test
	public void testTop() {
		stacks.push(10);
		assertEquals(10, stacks.top());
	}

}
